package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 文件管理对象 bas_files
 * 
 * @author realue
 * @date 2023-10-24
 */
@ApiModel
public class BasFiles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 关联id */
    @Excel(name = "关联id")
    @ApiModelProperty(value = "关联id")
    private String relationId;

    /** 1.图片 2.视频 3.声音 4.excel 5.其它 */
    @Excel(name = "1.图片 2.视频 3.声音 4.excel 5.其它")
    @ApiModelProperty(value = "1.图片 2.视频 3.声音 4.excel 5.其它")
    private Integer type;

    /** 文件类别：1.路由照片 2.拍照收货 */
    @Excel(name = "文件类别：1.路由照片 2.拍照收货")
    @ApiModelProperty(value = "文件类别：1.路由照片 2.拍照收货")
    private Integer fileType;

    /** 文件地址 */
    @Excel(name = "文件地址")
    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRelationId(String relationId) 
    {
        this.relationId = relationId;
    }

    public String getRelationId() 
    {
        return relationId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setFileType(Integer fileType) 
    {
        this.fileType = fileType;
    }

    public Integer getFileType() 
    {
        return fileType;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relationId", getRelationId())
            .append("type", getType())
            .append("fileType", getFileType())
            .append("fileUrl", getFileUrl())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
